home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gCurrentPos, gNbItem
- if getAt(gNbItem, 3) <= 6 then
- return
- end if
- set inc to 0.0
- repeat while the mouseDown
- if rollOver(28) then
- if the name of cast the castNum of sprite 28 starts "OF" then
- set TempNum to the castNum of sprite 28 + 1
- set the castNum of sprite 28 to TempNum
- end if
- set inc to inc + 0.075
- if (getAt(gCurrentPos, 3) - integer(inc)) < 2 then
- setAt(gCurrentPos, 3, 2)
- else
- setAt(gCurrentPos, 3, getAt(gCurrentPos, 3) - integer(inc))
- end if
- SetWindow2(3, 9)
- next repeat
- end if
- if the name of cast the castNum of sprite 28 starts "ON" then
- set TempNum to the castNum of sprite 28 - 1
- set the castNum of sprite 28 to TempNum
- updateStage()
- end if
- end repeat
- if the name of cast the castNum of sprite 28 starts "ON" then
- set TempNum to the castNum of sprite 28 - 1
- set the castNum of sprite 28 to TempNum
- updateStage()
- end if
- ActiveField(3)
- end
-